package com.luo.chengrui.module.sa.convert.datapermission;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.luo.chengrui.module.sa.controller.admin.datapermission.vo.*;
import com.luo.chengrui.module.sa.dal.dataobject.datapermission.DataPermissionItemSubDO;

/**
 * 数据权限项明细，代码中用来配置SaDataPermission注解中变量permissionCode的取值。 Convert
 *
 * @author 诚睿
 */
@Mapper
public interface DataPermissionItemSubConvert {

    DataPermissionItemSubConvert INSTANCE = Mappers.getMapper(DataPermissionItemSubConvert.class);

    DataPermissionItemSubDO convert(DataPermissionItemSubCreateReqVO bean);

    DataPermissionItemSubDO convert(DataPermissionItemSubUpdateReqVO bean);

    DataPermissionItemSubRespVO convert(DataPermissionItemSubDO bean);

    List<DataPermissionItemSubRespVO> convertList(List<DataPermissionItemSubDO> list);

    PageResult<DataPermissionItemSubRespVO> convertPage(PageResult<DataPermissionItemSubDO> page);

    List<DataPermissionItemSubExcelVO> convertList02(List<DataPermissionItemSubDO> list);

}
